import {
  createApp,
  ref,
  watchEffect,
} from "../node_modules/vue/dist/vue.esm-browser.js";

createApp({
  setup() {
    const count = ref(0);
    const stop = watchEffect(() => {
      console.log(count.value);
    });
    return {
      count,
      stop,
      increase: () => {
        count.value++;
      },
    };
  },
}).mount("#app");
